package com.bean.library;

import java.util.Date;

public class StatisticPaper{//这个结构只提供显示的简略信息，当教师点击详情之后再根据paperId从数据库中获取其他信息
	
	private int paperId;
	private String paperName;
	public String getPaperName() {
		return paperName;
	}
	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}
	private Date creationTime;
	private int submitNumber;
	private int type;//是考试试卷还是模拟试卷
	
	public static final int TYPE_EXAM_PAPER = 1;//考试题
	public static final int TYPE_SPARE_PAPER = 2;//备用题
	public static final int TYPE_PRACTICE_PAPER = 3;//练手题
	
	public StatisticPaper(){
		
	}
	public StatisticPaper(int paperId,String paperName,Date creationTime,int submitNumber,int type){
		this.paperId = paperId;
		this.paperName = paperName;
		this.creationTime = creationTime;
		this.submitNumber = submitNumber;
		this.type = type;
	}
	public int getPaperId() {
		return paperId;
	}
	public void setPaperId(int paperId) {
		this.paperId = paperId;
	}
	public Date getCreationTime() {
		return creationTime;
	}
	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}
	public int getSubmitNumber() {
		return submitNumber;
	}
	public void setSubmitNumber(int submitNumber) {
		this.submitNumber = submitNumber;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
}
